<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pAdvs
 *
 * @ORM\Table(name="p2p_advs", indexes={@ORM\Index(name="F_ID", columns={"f_id"})})
 * @ORM\Entity
 */
class P2pAdvs
{
    /**
     * @var string
     *
     * @ORM\Column(name="f_id", type="string", length=100, nullable=false)
     */
    private $fId;

    /**
     * @var string
     *
     * @ORM\Column(name="a_code", type="string", length=20, nullable=false)
     */
    private $aCode;

    /**
     * @var string
     *
     * @ORM\Column(name="i_category", type="string", length=100, nullable=false)
     */
    private $iCategory;

    /**
     * @var string
     *
     * @ORM\Column(name="a_title", type="string", length=45, nullable=false)
     */
    private $aTitle;

    /**
     * @var string
     *
     * @ORM\Column(name="a_author", type="string", length=45, nullable=false)
     */
    private $aAuthor;

    /**
     * @var string
     *
     * @ORM\Column(name="a_url", type="string", length=100, nullable=false)
     */
    private $aUrl;

    /**
     * @var integer
     *
     * @ORM\Column(name="a_order", type="smallint", nullable=true)
     */
    private $aOrder = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="a_img_web", type="string", length=100, nullable=false)
     */
    private $aImgWeb;

    /**
     * @var string
     *
     * @ORM\Column(name="a_img_cp", type="string", length=100, nullable=false)
     */
    private $aImgCp;

    /**
     * @var integer
     *
     * @ORM\Column(name="a_time", type="integer", nullable=false)
     */
    private $aTime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="a_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $aId;



    /**
     * Set fId
     *
     * @param string $fId
     *
     * @return P2pAdvs
     */
    public function setFId($fId)
    {
        $this->fId = $fId;

        return $this;
    }

    /**
     * Get fId
     *
     * @return string
     */
    public function getFId()
    {
        return $this->fId;
    }

    /**
     * Set aCode
     *
     * @param string $aCode
     *
     * @return P2pAdvs
     */
    public function setACode($aCode)
    {
        $this->aCode = $aCode;

        return $this;
    }

    /**
     * Get aCode
     *
     * @return string
     */
    public function getACode()
    {
        return $this->aCode;
    }

    /**
     * Set iCategory
     *
     * @param string $iCategory
     *
     * @return P2pAdvs
     */
    public function setICategory($iCategory)
    {
        $this->iCategory = $iCategory;

        return $this;
    }

    /**
     * Get iCategory
     *
     * @return string
     */
    public function getICategory()
    {
        return $this->iCategory;
    }

    /**
     * Set aTitle
     *
     * @param string $aTitle
     *
     * @return P2pAdvs
     */
    public function setATitle($aTitle)
    {
        $this->aTitle = $aTitle;

        return $this;
    }

    /**
     * Get aTitle
     *
     * @return string
     */
    public function getATitle()
    {
        return $this->aTitle;
    }

    /**
     * Set aAuthor
     *
     * @param string $aAuthor
     *
     * @return P2pAdvs
     */
    public function setAAuthor($aAuthor)
    {
        $this->aAuthor = $aAuthor;

        return $this;
    }

    /**
     * Get aAuthor
     *
     * @return string
     */
    public function getAAuthor()
    {
        return $this->aAuthor;
    }

    /**
     * Set aUrl
     *
     * @param string $aUrl
     *
     * @return P2pAdvs
     */
    public function setAUrl($aUrl)
    {
        $this->aUrl = $aUrl;

        return $this;
    }

    /**
     * Get aUrl
     *
     * @return string
     */
    public function getAUrl()
    {
        return $this->aUrl;
    }

    /**
     * Set aOrder
     *
     * @param integer $aOrder
     *
     * @return P2pAdvs
     */
    public function setAOrder($aOrder)
    {
        $this->aOrder = $aOrder;

        return $this;
    }

    /**
     * Get aOrder
     *
     * @return integer
     */
    public function getAOrder()
    {
        return $this->aOrder;
    }

    /**
     * Set aImgWeb
     *
     * @param string $aImgWeb
     *
     * @return P2pAdvs
     */
    public function setAImgWeb($aImgWeb)
    {
        $this->aImgWeb = $aImgWeb;

        return $this;
    }

    /**
     * Get aImgWeb
     *
     * @return string
     */
    public function getAImgWeb()
    {
        return $this->aImgWeb;
    }

    /**
     * Set aImgCp
     *
     * @param string $aImgCp
     *
     * @return P2pAdvs
     */
    public function setAImgCp($aImgCp)
    {
        $this->aImgCp = $aImgCp;

        return $this;
    }

    /**
     * Get aImgCp
     *
     * @return string
     */
    public function getAImgCp()
    {
        return $this->aImgCp;
    }

    /**
     * Set aTime
     *
     * @param integer $aTime
     *
     * @return P2pAdvs
     */
    public function setATime($aTime)
    {
        $this->aTime = $aTime;

        return $this;
    }

    /**
     * Get aTime
     *
     * @return integer
     */
    public function getATime()
    {
        return $this->aTime;
    }

    /**
     * Get aId
     *
     * @return integer
     */
    public function getAId()
    {
        return $this->aId;
    }
}
